/*
** map.h for  in /home/tessa_b//proj/zappy-2011/map
** 
** Made by arnaud1 tessa
** Login   <tessa_b@epitech.net>
** 
** Started on  Thu Jun 16 21:12:01 2011 arnaud1 tessa
** Last update Tue Jul  5 04:17:07 2011 ancet massrouf
*/

#ifndef		__MAP_H__
#define		__MAP_H__

/*Richesse des sols*/
#define		TROP_RICHE	2
#define		TRES_RICHE	5
#define		RICHE		7
#define		MOYEN		11
#define		TRES_PAUVRE	15
#define		TROP_PAUVRE	20

typedef struct	s_player
{
  int		posX;
  int		posY;
}		t_player;

void 		get_y_random_position(int x, int y, t_player *player);
char		**make_map(int x_size);
char		**make_map(int nb_cases);
int		random_resources_generator(char **tab, int richesse);

#endif		/*__MAP_H__*/
